
/** @description  内外网访问，主题切换。
 * @author yx
 */
import cache from '@/utils/cache'
const { value = 1 } = cache.getCache('portal_type_is_inner') || {}
const state = {
  // 是否是内网访问
  inner: parseInt(value) === 1
}
const mutations = {
  SET_INNER (state, data) {
    state.inner = data
  }
}
const actions = {
}
const getters = {}

export default {
  state,
  mutations,
  actions,
  getters
}
